VisualComposer\Helpers\PostData B

Total Complexity 86
Dependencies 0
Dependents 1
Total lines 456
Lines of code 300
Logical lines of code 178
Comment lines 51
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
getPostTagsList()
S
52 7 23
getPostCategoriesList()
S
54 6 20
getPostAuthorImage()
S
56 5 17
getImageAttributes()
S
57 4 15
getFeaturedImage()
S
58 4 14
getPostParentName()
S
62 4 12
getBlogLogo()
S
57 3 17
getPostTitle()
S
63 4 10
getPostType()
S
65 4 8
getPostCategories()
S
63 4 9
getPostTags()
S
63 4 9
getPostAuthorLink()
S
60 3 13
getPostModifyDate()
S
66 3 8
getPostDate()
S
66 3 8
getPostCommentCount()
S
66 3 8
getPostTypeSlug()
S
68 3 7
getPostExcerpt()
S
68 3 7
getPostId()
S
68 3 7
getPostAuthor()
S
67 3 7
getDefaultPostData()
S
50 1 27
getPostAuthorId()
S
68 2 7
getPostAuthorBio()
S
66 2 8
getSiteTitle()
S
76 1 4
getSiteTagline()
S
76 1 4
getSiteUrl()
S
76 1 4
getCurrentYear()
S
76 1 4
getPostUrl()
S
76 1 4
getCommentUrl()
S
76 1 4
replaceSpacerWithPlaceholder()
S
69 1 7
getEditorImagePlaceholder()
S
66 1 8